﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DarrenSoft.Domain.Entities;
namespace DarrenSoft.UI.WebTest
{
    using DarrenSoft.Facade;
    public partial class index : System.Web.UI.Page
    {
        //public IDepartmentFacade DepartmentFacade { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            IDepartmentFacade DepartmentFacade = new DepartmentFacade();
            Department model = new Department() { Name="Darren", ParentID=0 };
           DepartmentFacade.Update(model,"2");
          Response.Write(DepartmentFacade.GetAll().Count);
        }
    }
}
